package com.ecoolex.ying.space.core.mapper;

import com.ecoolex.framework.common.annotation.Description;
import com.ecoolex.ying.space.entity.PickGoodsLabelAssociate;
import com.ecoolex.ying.space.entity.PickGoodsLabelAssociateExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.springframework.lang.NonNull;

public interface PickGoodsLabelAssociateMapper {
    long countByExample(PickGoodsLabelAssociateExample example);

    int deleteByExample(PickGoodsLabelAssociateExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(PickGoodsLabelAssociate record);

    int insertSelective(@Param("record") PickGoodsLabelAssociate record, @Param("selective") PickGoodsLabelAssociate.Column ... selective);

    PickGoodsLabelAssociate selectOneByExample(PickGoodsLabelAssociateExample example);

    List<PickGoodsLabelAssociate> selectByExample(PickGoodsLabelAssociateExample example);

    PickGoodsLabelAssociate selectByPrimaryKey(Integer id);

    PickGoodsLabelAssociate selectByPrimaryKeyWithLogicalDelete(@Param("id") Integer id, @Param("andLogicalDeleted") boolean andLogicalDeleted);

    int updateByExampleSelective(@Param("record") PickGoodsLabelAssociate record, @Param("example") PickGoodsLabelAssociateExample example, @Param("selective") PickGoodsLabelAssociate.Column ... selective);

    int updateByExample(@Param("record") PickGoodsLabelAssociate record, @Param("example") PickGoodsLabelAssociateExample example);

    int updateByPrimaryKeySelective(@Param("record") PickGoodsLabelAssociate record, @Param("selective") PickGoodsLabelAssociate.Column ... selective);

    int updateByPrimaryKey(PickGoodsLabelAssociate record);

    int batchInsert(@Param("list") List<PickGoodsLabelAssociate> list);

    int batchInsertSelective(@Param("list") List<PickGoodsLabelAssociate> list, @Param("selective") PickGoodsLabelAssociate.Column ... selective);

    int logicalDeleteByExample(@Param("example") PickGoodsLabelAssociateExample example);

    int logicalDeleteByPrimaryKey(Integer id);
}